﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyFile.Config
{
    [SugarTable("UU_Table")]
    public class DBUU
    {
        /// <summary>
        /// IsPrimaryKey：主键；
        /// IsIdentity：自增列
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// token的key
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string TokenKey { get; set; }

        /// <summary>
        /// token的value
        /// </summary>
        [SugarColumn(Length = 500)]
        public string TokenValue { get; set; }

        /// <summary>
        /// 饰品列表请求地址
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string requestApiUrl { get; set; }

        /// <summary>
        /// 饰品详情请求地址
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string detailApiUrl { get; set; }

        /// <summary>
        /// Uk的key
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string UkKey { get; set; }

        /// <summary>
        /// Uk的value
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string UkValue { get; set; }

        /// <summary>
        /// platform的key
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string platformKey { get; set; }

        /// <summary>
        /// platform的value
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string platformValue { get; set; }

        /// <summary>
        /// UserAgent
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string UserAgent { get; set; }

        /// <summary>
        /// 数据库IP
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string DbIp { get; set; }
    }
}
